package com.inno.subject.controller.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.inno.subject.common.entity.PageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author sean
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SubjectCollectDTO extends PageDTO {

    private Long subjectId;

    /**
     * 题目分类id
     */
    private Long categoryId;
    private String categoryName;
    /**
     * 题目类型id
     */
    private Long subjectType;
    private String subjectTypeName;

    /**
     * 题目难度
     */
    private String subjectLevel;
    private String subjectLevelName;

    private String subjectName;
    /**
     * 后端用
     */
    private Long currentUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
}
